<%@include file="index.jsp"%>
<%@ page import="com.verbetia.mbrainz.tags.AlbumItem" %>
<jsp:useBean id="albumsearch" class="com.verbetia.mbrainz.search.AlbumSearch" />

<% AlbumItem a = albumsearch.searchAlbumTracks(request.getParameter("artist"), request.getParameter("album") ); %>


 <div id="content">           
        <div id="page"><div id="page-contents">

<img src="<%= a.getImage() %>" alt="beeep" />
<h1><%=request.getParameter("artist")%>  <%= request.getParameter("album") %> </h1>
<table>

<% 
 java.util.ArrayList b=null;
  int j=0;
  if (a!=null)
    b = a.getTracks();
    
   if (b!=null)
   for (int i=0; i!=b.size(); i++)
   { 
		String r = (String)b.get(i);   
   %>
	<tr>
	 <td><h3><%= ++j  %></h3></td><td><%= r %></td>
	</tr>

 <%  }%>
 </table>
 
</div></div></div>
  
